projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ccfd3
)
(texinfo-append-refill): Check @c correctly.
author
Kenichi Handa
<handa@m17n.org>
Mon, 8 Mar 1999 00:26:16 +0000
(
00:26
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 8 Mar 1999 00:26:16 +0000
(
00:26
+0000)
lisp/textmodes/texinfmt.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/texinfmt.el
b/lisp/textmodes/texinfmt.el
index 9ba0055e19bfb704df681f92e07341f192dec529..b1653ffa366fd821089ba1add38c8d6ae9d15f08 100644
(file)
--- a/
lisp/textmodes/texinfmt.el
+++ b/
lisp/textmodes/texinfmt.el
@@
-623,7
+623,9
@@
Do not append @refill to paragraphs containing @w{TEXT} or @*."
(delete-region
(point)
(save-excursion (skip-chars-backward " \t") (point)))
- (search-backward "@c" line-beg t)
+ (forward-char 1)
+ (unless (re-search-backward "@c[ \t\n]\\|@comment[ \t\n]" line-beg t)
+ (forward-char -1))
(unless (re-search-backward "@refill\\|@bye" line-beg t)
(insert "@refill")))
(forward-line 1))))))